Is New Mexico and Mexico city the same country?

No, New Mexico is in Illinois and Mexico city is in Mexico.