I have no clue how an AI may find the gender (which is in the mind) of someone through x-rays alone.
The more recent and somewhat controversial concept of it being an identity isn't the only sense of the word.
It used to be the case, yes, I agree, but these days people are referring to gender identity when they talk about gender, IME.
I have no clue how an AI may find the gender (which is in the mind) of someone through x-rays alone.