A jury has found Sydney man Ihsas Khan guilty of committing a terrorist act for stabbing his neighbour — an act he said was like "eating a chocolate bar".

Key points: Khan stabbed his neighbour Wayne Greenhalgh in a driveway in the Sydney suburb of Minto

Khan stabbed his neighbour Wayne Greenhalgh in a driveway in the Sydney suburb of Minto Khan, who police said was inspired by ISIS, said he wanted to be "a martyr" and egged on police to shoot him

Khan, who police said was inspired by ISIS, said he wanted to be "a martyr" and egged on police to shoot him He is due to be sentenced on May 23

Khan was charged after attacking Wayne Greenhalgh in a driveway in the Sydney suburb of Minto on September 10, 2016.

Mr Greenhalgh sustained life-threatening injuries, but survived after running to a nearby hair dressing salon.

Khan showed no emotion when the verdict was read out in the Parramatta Supreme Court on Thursday, and simply sat back down after the judge finished his remarks.

He is due to be sentenced on May 23.

The guilty verdict comes from the sixth jury to hear the case, following a series of mistrials.

During one of his trials, the court heard Khan wanted to be "a martyr" and egged on police to shoot him after stabbing Mr Greenhalgh.

He was tasered, taken into custody and later charged with committing a terrorist act with the intent to influence the Australian Government.

Khan pleaded not guilty, because of mental illness.

Blood on the floor of a hair salon where Mr Greenhalgh escaped to. ( ABC News: Jackson Vernon )

A jury agreed with the prosecution's argument that Khan had been planning to attack a civilian at random on, or around, September 11 to coincide with the anniversary of the Al Qaeda attacks on the United States.

Khan picked out his neighbour, Mr Greenhalgh, because he believed he was wearing a shirt with some sort of American motif on it.

When Mr Khan saw the blood he was heard to say: "What a beautiful sight this is."

Locked out of the hairdressers, the court heard earlier in the trial that Khan stabbed at the glass door with the knife saying: "They killed our people, he should be killed too", "Allah Akbar" and "they tried to kill my brothers and sisters in Iraq".

After charging Khan, NSW Police said they knew Khan had "strong extremist beliefs inspired by ISIS".

Ihsas Khan pictured in the Sydney driveway of his victim, holding a knife. ( Supplied: A Current Affair )

During an interview with a detective after being taken into custody, Mr Khan said he felt nothing about stabbing Mr Greenhalgh.

"How do you feel about eating a Picnic bar? You don't really think about it," he said.

The detective asked him whether he regretted what he did.

"No, not at all," Mr Khan replied.

"This person you stabbed today, if he died how would that make you feel?" the detective asked.

"Nothing," he replied.

Outside court, the officer in charge of the investigation Sergeant Daniel Schiavello said the verdict was "a great result for the victim and his family".

"I have [spoken to them] and they're very happy."