The Fair Housing Act (FHA) can be used to attack zoning regulations. A 2015 Supreme Court decision said that concentrating federally-funded affordable housing in low-income areas disproportionately harms minorities, violating the FHA.
The FHA is federal legislation intended to protect buyers or renters from seller and landlord discrimination. Under the FHA, it is illegal to refuse to sell to, rent to, or negotiate with any person based on a protected class.
Concerned citizens could file lawsuits against cities and states whose land-use laws prevent them from living there. Affected parties can also sue local and state governments if the entities accept federal housing funds when regulations violate federal housing laws.