Yes: gender discrimination in employment is illegal. You can bring a complaint to the federal EEOC (Equal Employment Opportunity Commission), to your state's department or agency of civil rights or labor department, and/or file a lawsuit for discrimination. Since filing a lawsuit will cost you money, but filing a complaint with the government does not, a good idea is to start by contacting the EEOC or the state agency.