Is being gay an impression of the mind?
It could be, or it could also be biological.
You are made up of both, male and female, chromosomes. If the female chromosomes in you are active, but the body is male, then the tendencies can change. However, it is not for a lifetime. These tendencies may come for some time, and disappear. You can see many people who are straight, suddenly turn gay. And many people who are gay for a long time, they start getting married. I have seen all these different permutations, combinations, mindsets in people. So, it is best not to label yourself.
Sometimes, people force themselves to fit into particular categories. They say, ‘Okay, I am lesbian’, or, ‘I am gay’, and when these tendencies change, they get shattered later on. Sometimes, people become so homophobic that they start hating people with such tendencies, which is no good.
My advice would be to get out of labeling yourself based on some tendency of the body. Know that you are consciousness. You are love. You are scintillating energy. Your identification as energy, as love, and as a beautiful person is far, far better than identifying and labeling yourself with the physical tendencies that may arise in you.
When such tendencies come, you don't have to feel bad or guilty or anything. That is how it is! Accept it! It is a phenomenon in nature - there are different male or female tendencies, or emotions or attractions that are arising within you. There is nothing wrong about it.
You have to go beyond that! Beyond that is the spirit.
The spirit has no gender, it is beyond gender. The spirit is love, and that is what you are.
When you know this, you become very solid.