The effects of sugar
and other foods or additives in chidlren with autism
are highly controversial.
Best reserach suggests that, especially with chidlren under age 5 or 6 years, if may have an effect. One problem is that sugar rarely is the only variable--context (party, after school, etc.) may have a big impact. Check for yourself; if it helps, restricting it may be worth the effort.