A Google-led search of the Web doesn't yield for me an adequate reason for the night heron nomenclature. It's supposedly called that due to its dawn and dusk activity. Yet the same may be said about the eastern gray squirrel. That photo above was taken at midday.
That's 'cause it's a New York City
black crowned night heron. They keep different hours.