In my opinion, the answers given so far are not satisfying, so I'll add another one.
Yes, both voting to close and downvotes are ways to deal with "bad" questions, and, as I see it, there is an intersection of questions where both should be applied.
Questions that deserve to be downvoted only
You should downvote questions that
- do not show any research effort, where a trivial Google query would likely have solved the problem
- are written in a careless and sloppy manner, so one has to assume that the OP does not care about getting good answers very much
- are not helpful in the sense that an answer to them is unlikely to help any other user (a remnant of the "too localized" close reason) - a good question puts the problem in a wider context
Questions that deserve to be closed only
You should vote to close questions that
- are exact duplicates of other questions
- belong to another site of the StackExchange network (migration)
- ask for recommendations
- are too broad and would require a whole documentation to be reproduced as an answer
- are based on opinions instead of hard facts
Questions that deserve to be both downvoted and closed
You should vote to close and downvote questions that
- are spam, or contain links to porn sites, or are completely unintelligible gibberish
- are very impolite and aggressive
- are written in a language other than English
- are unclear, because a) there is no real question or because b) relevant code is not included
From my point of view, downvoting tends to be for questions that should not be answered, whereas voting to close tends to be for questions that cannot be answered (either because of the sheer impossibility or the policy of Stackoverflow).
But of course, millions of questions can hardly be crammed into a handful of categories and there will always be intermediate categories and opinions differ on some. For example,
- if a question lacks effort and solutions are easily found, there should be an early SO post already that is a duplicate
- non-English questions are often translated by other users
- opinion-based questions might be a good fit for the Programmers site
And then there's always the option to opt out of doing anything because you're too far from your field of expertise and are skating on thin ice.