The key to a soy-free diet is to stay away from all foods or products containing soy. Soybeans are classified as a legume. Other foods in the legume family are navy, kidney, string, black, and pinto beans. Also chickpeas (garbanzo beans), lentils, peas, carob, licorice, and peanuts.