“Open borders” was pretty much standard across the world prior to World War 1. These tightly controlled immigration policies are, historically speaking, incredibly new.
I think it’s self evident that the U.S. benefited greatly from its mass immigration inflows in the 19th and 20th centuries.