unlawfulness by virtue of violating some legal statute
Illegalness.
n. Quality or condition of being illegal; unlawfulness.