"Homeownership in New Jersey can be expensive but our analysis found affordable places across the state, including areas close to Philadelphia and New York City," said Maggie Clark, an analyst with NerdWallet.