Considering he's so "rational", he does and says a lot of irrational things. His routine, down to the foood he eats and paths he walks are all irrational and based on personal preferences. Hobbies in general is a counter argument to the whole "for the society" POV. Not to mention, biologically, many species engage in same sex behaviours. There are insects, birds like penguins, fish, and lizards that actually mate with the same sex. Left over male penguins even bond for life and raise abandoned eggs/penguins together.
There's a whole thing behind it. Gay, trans, non-binary and intersex people have also existed from the beginning of time and recorded as far as 60,000 years ago in some of the oldest cultures in the world.