This work demonstrates the synthesis and characterization of a thiosemicarbazide core containing Schiff base molecule (MNHC) and its use as a chemosensor for the selective, ratiometric, and colorimetric detection of fluoride ions. The study reveals that in the presence of F− ions, MNHC displays a ratiometric change of absorption maxima at two different wavelengths (432 and 330 nm). MNHC involves an intramolecular hydrogen bonding initiating the possibility of keto-enol tautomerism which is thoroughly investigated by DFT study. Interestingly, the intramolecular hydrogen bonding enhances the acidity of the –NH proton and consequently the –NH center becomes more labile for F− ions binding over the other –NH proton. This fact is confirmed by 1H NMR study. Remarkably, F− ion forms intermolecular hydrogen bonding with the –NH moiety disrupting the intramolecular hydrogen bonding. The changes in absorption spectra in the presence of F− ions occur due to the intermolecular hydrogen bonding-assisted abstraction of the –NH proton. On the other hand, when H2O is added to the MNHC-F− composite, the spectroscopic signature of free MNHC is completely regenerated due to the transfer of proton from H2O to the nitrogen center of MNHC. In addition, 1:1 binding stoichiometry and 53.7 μM detection limit for fluoride ion are also confirmed. Moreover, utilizing these spectroscopic responses, different kinds of important opto-chemical logic gates like YES, NOT, PASS 0, PASS 1, INHIBIT, TRANSFER, and IMPLICATION are developed. Moreover, the F− ion-assisted competitive nature between the intramolecular vs intermolecular hydrogen bonding is thoroughly explored by substantial DFT study.