I'm technically "male" but I'd like not to be :c. While my first two childhood friends were girls, being in male dominated schools (1 was for autistic people) I mostly made guy friends simply because that was the most convenient. I grew up around my mother and sister, and while they're not the most usual, I think it contributed to why I've always found the company of women, whether peers or older, more comfortable. Whether I relate or not, it's just an atmosphere thst suits me.
The thing is that I don't really feel at home with either the average man or woman, culturally and in terms if neurotypicality. Thanks to mom and sis I understand the women more, but that culture tends to have more indirectness and a focus on social stuff which is hard for me as an autistic person. Meanwhile the dudes tended to just have all this "Guy" stuff that, while I understand because I grew up with it, I definitely don't feel like I fit into at all. However, they tend to share my interests a lot more, though sometimes they appeal to them for entirely different reasons.
Rather than gender, I just seem to jive well with other neurodivergent people, as well as atypical or outcast types. I would say autistic/adhd girls I tend to feel more on the same level with on a general sense, but I've found it easier to get close to the dudes, but that is probably due to my circumstances, plus my best friend is a guy.