- He was charged with killing 13 people.
- He was charged with having killed 13 people.
- He was charged with the crime he killed 13 people.
I suppose the phrase no. 1 is correct but the others also make sense or are they grammatically wrong?
1 and 2 are correct.
3 is wrong. You could break it into two sentences:
But I think what you really mean is: