It impairs a person's ability to think rationally and logically. In addition, it may cause brain fog and mood changes. It can also hamper memory formation. Hence, too much junk food can hamper the overall cognitive function of the brain.