The Texas lawsuit will fail for the same reasons Arizona's lawsuit failed:
'The Federal Government's broad, undoubted power over immigration and alien status rests, in part, on its constitutional power to "establish an uniform Rule of Naturalization," Art. I, § 8, cl. 4, and on its inherent sovereign power to control and conduct foreign relations, see
Toll v. Moreno, 458 U. S. 1, 10[*2495] .
[...]
The Supremacy Clause gives Congress the power to preempt state law. A statute may contain an express preemption provision, see, e.g.,
Chamber of Commerce of United States of America v. Whiting, 563 U. S. ___, ___, but state law must also give way to federal law in at least two other circumstances. First, States are precluded from regulating conduct in a field that Congress has determined must be regulated by its exclusive governance. See
Gade v. National Solid Wastes Management Assn., 505 U. S. 88, 115. Intent can be inferred from a framework of regulation "so pervasive . . . that Congress left no room for the States to supplement it" or where [***2] a "federal interest is so dominant that the federal system will be assumed to preclude enforcement of state laws on the same subject."
Rice v. Santa Fe Elevator Corp., 331 U. S. 218, 230. Second,[**363] state laws are preempted when they conflict with federal law, including when they stand "as an obstacle to the accomplishment and execution of the full purposes and objectives of Congress."
Hines v.Davidowitz, 312 U. S. 52, 67. Pp. 7-8.'
Bloomberg Law - Document - Arizona v. United States, 132 S. Ct. 2492, 183 L. Ed. 2d 351, 115 FEP Cases 353, 80 U.S.L.W. 4539 (2012), Court Opinion