There are two environmental costs to this setup.
The first is that if he weren't frivolously moving electrons through his heater, there would be more to feed to the grid for other people. So there is an opportunity cost of reducing CO2-generating energy production elsewhere.
The second is that he installed a much bigger array than optimal, due to regulatory requirements, and that too has up-front environmental consequence. Since he's burning off that excess electricity rather than feeding it to the grid, there's really no redeeming value to an array that's too big.