Does eating late at night (eg. 1-2 hours before sleeping) really have bad effects on your brain?

No. Eating late does not have adverse effects on your brain. So long as you maintain a healthy diet and are not diabetic you should be fine. If you are a diabetic you need to discuss this with your doctor. .