The term "employment" does not include service performed in the employ of a corporation, community chest, fund, or foundation, organized and operated exclusively for religious, charitable, scientific, literary, or educational purposes, or for the prevention of cruelty to children or animals, no part of the net earnings of which inures to the benefit of any private shareholder or individual, and no substantial part of the activities of which is carrying on propaganda or otherwise attempting to influence legislation. On and after January 1, 1972, the provisions of this Section do not apply to services performed in the employ of a nonprofit organization as defined in Section 211.2.
820 ILCS 405/221