That's only true if we're comparing GPU mining to resistive heating. Both are equally efficient at converting electrical energy to heat: 100%.
The numbers don't look nearly as good when we compare GPU mining to a heat pump. Heat pumps utilize an additional, uncounted source of free energy (outdoor heat). Since we aren't counting that additional energy, the electrical efficiency of the heat pump is much greater than 100%.