Which is grammatically correct-hostels have closed for vacation or hostels have been closed for vacation?

Both are correct.