There are not laws against owning a gun, there are laws governing the ownership of guns.
Big difference. There is no law that says you cannot own a gun, you just need a licence.
Last i checked, there was no bank robbers licence available in any state.