It will be an interesting case for certain but people outside the US can't sue the US government demanding entry. They have no standing.
As a citizen, I barely have legal standing to sue for a denial of passport.
The affected people already present might have some standing to fight their denial of entry as they are here legally but people here illegally have no such right.