Note that Melville was well aware of the reasons that "whales aren't fish", and went over those in detail, then said he was going to call them fish anyway.
I think that's perfectly fair. The same way everyone knows that chimps are monkeys, it's just brainy losers who insist they're just apes
The whale=fish thing is also an old joke about catholics. Back when one could not eat meat on fridays, all sorts of water-living mamals were declared to be "fish" for purposes of eating. So a new world protestant author in the 1800s is pointing a critical finger at oldworld religion and science.
We have lost knowledge of such nuance, like rewatching MASH or Trek and missing the religious and racial messages that made them so controversial then but banal today.