The federal govt scotus sure has jurisdiction to hear this case as immigration laws are federal laws and illegal aliens are breaking federal law, regardless of what leo agency detains them.
Jeebus what the hell is he thinking?
I would imagine the two conservative justices dissented simply due to the fact that it is intuitively obvious these people are not citizens and are here illegally and that the Constitution gives complete power to the President alone.