A man was jailed for robbing a bank with a banana and a plastic bag in England.