If a defendant, when arraigned, refuses or neglects to plead or stands mute, the court must cause the plea of not guilty to be entered for him.