I don't think Thai immigration law is even remotely relevant to U.S. immigration laws.
They are in totally different situations.
Thailand is like or not a kind of ethno state where the national identity is dominated by Tai people and Chinese background people.
Becoming a diverse society, nation of immigrants, like the USA and Canada is of no interest to Thailand.
The USA on the other hand would be an aging country like Japan without a constant flow of younger immigrants bringing innovation, hard work (often slave like labor), optimism, and energy to constantly renew America. That's the ideal. The regressive republicans are trying to kill that magic, the real secret of America's success in history.