GO:1901363: heterocyclic compound binding
Interacting selectively and non-covalently with heterocyclic compound.