Rational basis review is a standard of judicial review that requires government actions to be rationally related to a legitimate government interest. In cases of alleged religious discrimination, if the government can show a plausible, secular purpose for its action, it typically will pass this level of scrutiny.
For example: A city zoning law might be challenged for targeting churches, but if the city demonstrates it’s meant to limit noise in residential areas, this could pass rational basis review.