A system in which people are discriminated against or excluded based on their nationality or ethnicity.