A bean is a slang or nickname to refer to the spanish speaking nation (Mexico, Spain, Puerto rico, El Salvador, Guatemala etc.)
She is a mexican, she is a bean, they are beans