Americans are terrible at logical thinking. They are also similarly bad at independent thinking. So yes, ask them to create a straightforward program, and they will do so, though it won't be the cleanest code in the world. But ask them to solve some non-trivial problem and they won't be able to do that.
Bull crap. Most of the smartest programmers I know about are Americans.
......... your miserable attempt to squawk about Pakistan, speaks high of your obsession & devoided mental agility.