How to Detect an Astrophysical Nanohertz Gravitational Wave Background