Not understanding logic does not equate to not understanding consequences of actions. The mentally handicapped and elderly may not. After a certain age, you are beyond physical discipline because you can understand and hold a conversation for more than 2 minutes.
How do you discipline your 3 year old?