Man who dumped son insane, judge decides