He is. You can argue that Phoenix gave the better performance, but The Dark Knight was such a compelling and well-written movie that it elevates Ledger's Joker to a higher level. The movie and its villain was too damn well written.
As a character, Ledger was still the better Joker. You can argue Phoenix acted better.