It is not the law. H1B Visas are not meant to replace US worker force but to supplement the the workforce. It also expressly forbids paying workers lower wages. Look it up sometime. The problem is enforcement and the companies that game the system.
You cannot have a science without measurement. -- R. W. Hamming