We have satellites which can detect a double flash (characteristic of a nuclear explosion), the US and probably most other nuclear powers with the exception of perhaps North Korea and Pakistan would know instantly of any nuclear detonation above ground.