\begin{tikzpicture}
\node (in) at (0.5,1) {in};
\node (inp) at (0.65,1) {};

\node (out) at (4,1) {out};
\node (outp) at (3.8,1) {};


\ctikzset{
    logic ports=ieee,
    logic ports/scale=1,
}

\node[nand port] (Nand) at (2.5,1){};%\small{Nand}};

\draw (Nand.in 1) |- (in) ;
\draw (Nand.in 2) |- (in);

\draw[name path = pin1] (Nand.in 1) |- (in) ;
\draw[name path = pin2]  (Nand.in 2) |- (in);

\draw [fill=white]( [xshift=3pt] inp) circle (2pt);
\draw [fill=white]( [xshift=-5pt] outp) circle (2pt);

\path[name intersections={of=pin1 and pin2, by=e}];
\fill[] (e) circle[radius=0.075];

\end{tikzpicture}   