If not they are just as guilty
Surely you don't mean that. You think it's just as bad for a person to witness or know of a crime and not interevene as it is to actually committ the crime? That's stretching it a bit isn't it. Sure there is some obligation to report it and not doing so maybe you share a little bit of the blame, but just as guilty?