You asked:

is 1 mile greater than 2,000 yards

No. 1 mile is not greater than 2,000 yards.