Sentence:  The criminal was aware of the <WSD>illegality</WSD> of his act. 
Meaning of the word marked with <WSD> tags:  the state of being illegal