of course, because you then look at the gender before hiring someone and that's discrimination.
however, it is not discrimination if someone is against favouring a certain gender in hiring to achieve a gender balanced workforce. that's just his opinion and should be able to say it without repercussions.