Investigators allege he planned the attack for a year and was driven by a desire "to kill all Zionist people."