If you can prove you had no involvement in the robbery or crime or knew that the person borrowing your car was gonna do anything illegal then you won't get into trouble.
This is one reason I will not loan my vehicle out to anyone outside my family because even if I know them real good they could turn around and do something illegal with it.