So, one atom of element X combining with one atom of element Y is a binary compound.
From the en.wikipedia.org
The molecule, a compound of benzene, changes to a different form when it is struck by a photon of ultraviolet light, allowing it to store a binary digit.