In CA it's legal for regular citizens to detain someone if you think there's a reasonable public safety threat (but if you're wrong, you can obviously be in a lot of trouble)