Illegality

Webster's Dictionary of the English Language

·noun The quality or condition of being illegal; unlawfulness; as, the illegality of trespass or of false imprisonment; also, an illegal act.