Is homosexuality a sin?
It is not a sin.

Lust is born out of desire. Desire is one of the root defilements (kilesas).
It can manifest itself in different ways, e.g. sexual preference, body type preferences etc.

Lust is still lust, no matter what object its involved with.