Keto diet makes your brain use ketones instead of glucose for fuel which results in slower brain aging when you're 40-50.
On then off might let you get more variety in.
One thing to note here is that ketosis may be achieved by diets less strict like MAD etc.