Some are not harmful, but the lectins found in undercooked and raw beans are toxic. While you might assume that consuming raw beans would provide better nutrition, you're wrong. Beans actually have a better nutritional profile after they are cooked. Beans must be boiled to destroy the lectins.