Exactly.
First, they were asylum seekers, not 'illegals'.
Second, it wasn't closed, it was just for a day to house people during a winter storm:
Update (1/11/24): According to the city’s emergency management commissioner, police are investigating after James Madison High School received a bomb threat and multiple “hate calls" amid the wave of outrage on Wednesday. A group of asylum-seekers were temporarily moved to shelter overnight in a...
www.mediamatters.org
Elon Musk expressed his concerns about America’s intensifying migrant crisis after students in Brooklyn were booted from their school so asylum seekers could camp out in the gym.
nypost.com
It's just hate.
Also, if you need to pay $7000 extra in tax, you can likely afford it.