Sin is any failure to conform to the moral law of God in act, attitude, or nature
Wayne A. Grudem (2009). “Systematic Theology: An Introduction to Biblical Doctrine”, p.455, Harper Collins

Sin is any failure to conform to the moral law of God in act, attitude, or nature