text: An example of a YES logic gate comprises a benzo-crown-ether connected to a cyano-substituted anthracene unit. An output of 1 (fluorescence) is obtained only when sodium ions are present in the solution (indicating an input of 1). Sodium ions are encapsulated by the crown ether, resulting in a quenching of the PET process, and causing the anthracene unit to fluoresce.