Is striking illegal in the US?

No, of course not. Hence strikes every year in one industry or another.