It means that Sally is only thinking about one thing. For example, if all I ever talk about or think about is girls, someone could tell me that I have a one track mind. It is typically used to mean that someone is stupid, but I think it means also that they are ignorant.
Does that explanation help?