When is a guilty person not guilty?

When a jury says not guilty.

 

When a jury is convened to try a case they do not KNOW and cannot KNOW the truth. They can only hear the evidence and make a finding.