There may be a provision as follows:

Illegal occupation: The insurer shall not be liable for any loss to which a contributing cause was the insured’s commission of or attempt to commit a felony or to which a contributing cause was the insured’s being engaged in an illegal occupation.

L.1971, c. 144, s. 17B:26-26