My yu Yureka is bricked now I tried installing nougat with cm-14 but there is a error being displayed while installing cm 14 (comparing tz version)?
The error

Comparing TZ version TZ.BF.3.0.R2-00034 to TZ.BF.2.5.2-00005
assert failed: cm.verify_trustzone(&quot;TZ.BF.3.0.R2-00034&quot;) == &quot;1&quot;

is quite obvious: it means this ROM requires a new version of TrustZone. You will not be able to install anything sufficiently new until you update that.
Such base components can be upgraded via flashing a factory firmware. For Yureka, the latest Cyngn offers is Cyanogen OS 12.1. Flash it via fastboot using the guide offered on YU's forum. After that, flash a custom recovery again, then finally load the custom ROM you wanted.
Additionally, I have downloaded the package and verified that it does have the TZ component inside:

... and the version is right: