Nope unlike what conservatives want you to think (Ben Sharpio/Trump/other idiots)
Simply put your brain can be hardwired to be female yet you have a male body (its very uncommon but can happen)
and there is nothing supporting that this is a mental illness