RLS is not a sign of dementia but often accompanies degenerative diseases like Parkinson's disease or Alzheimer's disease.
The nighttime restlessness that these patients exhibit seems to be related to this dysfunction.