Yes. And why not? That's the whole point of countries. Americans are discriminated against by India, so we discriminate against Indians. Same with the English, Canadians, Chinese, Finns, Malaysians, name a country. Is it a lovely, wonderful system? Absolutely not. But I'm sick of being told I have to love the H1-B program or I'm somehow racist.
Here's what I would support: if another country wants its citizens to be able to work in the US, they can offer to let Americans work there. Every American who goes to work there means one person from there can come work here, free and clear, but the numbers have to stay in lock-step, the net delta can't be greater than one for a given year.