There were probably a few who werent 100%hetero. But for sure Obama is the least hetero ever so far.
Millard Fillmore was married and had two children.
There is a lot of circumstantial evidence that President Buchanan may have been gay. He never married and lived with a man for many years.
James Buchannon was both gay and an especially bad President.