Let $A$ be a set. Is there a set $B$ whose elements are these elements $x \in A$ which are logical sentences?
Such a set would be constructed using the axiom of specification, provided that $$\phi(x) : x \ \text{is a logical statement}$$ is a propositional function. In the textbook I am studying now (Kazimierz Kuratowski - Introduction to Set Theory) the concept of propositional function is defined so vaguely that I can't decide if this is true.
A propositional function is what we get from a sentence of our language, like e.g. "Socrates is a philosopher" removing the name Socrates and using instead a "place holder" : a variable like $x$.
The resulting expression : "$x$ is a philosopher", is like a mathematical function: assigning to $x$ a "value" : Plato, Napoleon, what we get is a sentence : either true (for Plato) or false (for Napoleon).
In predicate logic, a propositional function $\phi(x)$ is called : open formula.
See : Kazimierz Kuratowski & Andrzej Mostowski, Set theory, North Holland (1968), page 45 :
An open formula $\phi(x)$ is what is used in the set-builder notation :
to define a set: the set of all and only those objects such that $\phi(x)$ holds of them.
Regarding propositional calculus, we satrt with a language (or alphabet), i.e. a set of propositional symbols : $p_0,p_1,\ldots$ and the connectives : $\lor, \land, \lnot$.
We define expressions as finite strings of symbols.
Finally, we have :