Definitions of illegality:

  • noun:   unlawfulness by virtue of violating some legal statute