doesnt matter if they have nukes. usa would not allow mexico to join something like the warsaw pact. in the same way russia cannot allow ukraine to join nato.
Cuba (reportedly) still has a Russian base and is propped up Russia to this day.
It’s literally right next to Miami and numerous US military and aeronautical facilities in Florida.