Section 43 of The Indian Penal Code, 1860 View Chapter 2

''Illegal''."Legally bound to do".

"Illegal". "Legally bound to do"-- The word "illegal" is applicable to everything which is an offence or which is prohibited by law, or which furnishes ground for a civil action; and a person is said to be "legally bound to do" whatever it is illegal in him to omit.