In the present investigation, we have designed and synthesised Zn2+ sensitive Julolidine-hydrazone (JSB) based chemosensor, which crystallised in a monoclinic crystal system with P21/c space group. The bare JSB was nonemissive, but in the presence of Zn2+ ions in solution it showed emission, ascribed to the chelation enhanced emission process, which is also utilised to detect Zn2+ in water samples. Comparing the chromaticity coordinates deduced from the emission colors of the JSB-Zn2+ in solution, powder and hybrid polymer thin film, using CIE (Commission Internationale de I'Eclairage 1931) chromaticity diagram, it was found that compared to the emission of the solution, the emission of the powder was red shifted, while that of the thin film was blue shifted. Further, the sensing of Zn2+ showed reversibility in the presence of pyrophosphate (PPi), which allowed quantification of PPi. Interestingly, in addition to the detection of PPi using the in-situ formed JSB-Zn2+ complex, the process was selective and discriminated PPi from ADP and ATP. The detection of PPi was rationalized via a decomplexation reaction, and translated in the construction of INHIBIT logic gate. Additionally, the possible use of the JSB coated sensor paper for the on-site detection of Zn2+ and subsequent JSB-Zn2+ complex for PPi ions has been demonstrated. The experimental results showed good correlation with the theoretical calculations wherever possible.