soybeans are legumes. other foods in the legume family include peanut, navy beans, kidney beans, lima beans, string beans, pinto beans, chickpeas (garbanzo beans), lentils, peas, black-eyed peas, and licorice. some people with soy allergy may have a reaction after eating other legumes.