I mean that sounds pretty cruel but a lot of the time people accused of witchcraft were genuinely neuro divergent folks.
Might not have been perfect but being placed in a committed care facility is definitely a step up from being drowned because the peasants decided only drowning could prove your innocence.