This character displays transgender behavior.
Transgender is the state of one's "gender identity" (self-identification as woman, man, neither or both) not matching one's "assigned sex" (identification by others as male, female or intersex based on physical/genetic sex).
"Transgender" does not imply any specific form of sexual orientation; transgender people may identify as heterosexual, homosexual, bisexual, pansexual, polysexual, or asexual; some may consider conventional sexual orientation labels inadequate or inapplicable to them.
This trait refers to characters acting outside the social norms of their physical gender. It does not necessarily cover looking, dressing like or claiming to be of that gender.