Contrary to federal law

If governors feel Team Biden’s border policy is contrary to federal law doesn’t that mean the federal branch is acting illegally like the immigrants?