In order to cast spells in armor in 5e, you must have proficiency. If you do not have proficiency, you are considered to be too distracted/hampered down by your armor.