Mastermind is a 1976 Japanese-American comedy thriller film directed by Alex March and starring Zero Mostel, Keiko Kishi and Gawn Grainger. Filmed in 1969, it sat on the shelf for seven years before receiving a limited theatrical release in 1976. It has developed a cult following since its release on home video.
Zero Mostel plays an inspector on the trail of criminals who have captured a robot called Chatze (sp?) played by Felix Sillas. The inspector has delusions that he is a great Samurai warrior and the movie flashes back and forth between present day and ancient times.