No, if there is a choice between a man and a women, and the man clearly has the superior policy platform in your opinion, you should vote for the man. Similarly, if the women has the superior policy platform, you should vote for the women. However, restricting the field to only women would prioritize identity (the gender of the candidate) over the policy.