Maybe. If the program receives funding under the Workforce Innovation and Opportunity Act (WIOA), then yes, that was illegal. Under the WIOA, any program or activity that receives money from the WIOA cannot discriminate against anyone based on race, color, religion, sex, or political affiliation or belief.