Not true. Incorrectly cooked kidney beans (and to a lesser degree other beans) can cause severe vomiting and diarrhea, because of phytohaemagglutinin toxicity, which needs prolonged heating to destroy:
Cook whichever way, but remember to wash raw vegetables thoroughly! Improperly cleaned raw vegetables are a common source of gastroenteritis and similar illnesses (or more serious ones -- I still remember a cholera epidemic in my country when I was younger).
https://en.wikipedia.org/wiki/Phaseolus_vulgaris#Toxicity