Yes, Locust is toxic to dogs!
Dogs accidentally consuming the Locust plants can show the following clinical symptoms: Vomiting, Prolonged Depression, Incoordination, Hypersalivaton, Sleepiness Or Excitation, Dilated Pupils, Low Body Temperature, Low Blood Pressure, Coma, Seizure And Death (In Rare Cases).
Locust consumption is also toxic to Cats and Horses.
Toxic Principles Of Locust: Toxalbumins: phasin, robin and robitin (bark, leaves and seeds).
More Info About The Locust Plant
Scientific Name: Robinia spp.
Family: Mimosaceae.
The answer is based on information found on The American Society for the Prevention of Cruelty to Animals (ASPCA) website.