So, is that lying?

Lying implies an intention to deceive and an awareness of its consequences. People with autism often lack that second component: they have limited awareness of broader context and long-term consequences. The behavior is therefore more a result of limited context integration than of moral unwillingness or a lack of honesty.