Sounds like a transgender.
Gender-confusion (meaning: a woman disguising herself as as a man) was the central plot point of "12th Night."
Regards,
If you read the play, Viola does not disguise herself as a man out of gender confusion at all. She has no qualms about the fact she is a woman. Disguising herself as a man is merely a matter of survival, after a shipwreck. Don’t go startibg woke rumors about Shakespeare.
The only gender confusion in the play is by the Duke. He has a servant who is putatively a man, but he’s confused by subconiously realizing it’s a woman.