Soybean allergy is one of the more common food allergies, especially in babies and children. Soybeans are a member of the legume family. Beans, peas, lentils and peanuts are also legumes. Being allergic to soy does not mean you have a greater chance of being allergic to another legume, including peanut.