I sell my labor in exchange for money, and so it's in my interest for wages to be as high as possible, if not higher.
By banning competition, the H-1B person's wage and the employer's profits go down and the product price increases.
How much depends on the relative elasticities.
Isn't this richer people banning much poorer people (immigrants) from competing with them?
I'm not a utilitarian.