It’s the law. So, if Cruz joins, it gives him standing (in a court).
I hope you understand what that means.
It’s unconstitutional federal law, therefore it is invalid law.
The Court has already shown it will not rule on Obamacare based on its constitutionality so I’m not sure what is gained by Cruz going to court.