Lying is still illegal and when consulting a lawyer, a good one will never advise you to lie but rather say things that are not self incriminating which there is a difference. On top of this pleading the 5th is not lying it is merely a person not being forced to prove themselves guilty regardless of actual guilt