Need help with conditional logic for menus

Need help with conditional logic for menus