How do I superimpose two math symbols?
You guessed a wrong value of the negative space. You needn't guess, TeX can do the work for you.
\documentclass{article}
\makeatletter
\newcommand{\modd}{\mathord{\mathpalette\denis@modd\relax}}
\newcommand{\denis@modd}[2]{\ooalign{$\m@th#1\top$\cr$\m@th#1\bot$\cr}}
\makeatother
\begin{document}
$\modd\top\bot$
\end{document}
See https://tex.stackexchange.com/a/22375/4427 for more information on \ooalign
.
\documentclass[12pt]{article}
\usepackage{amsmath,stackengine}
\newcommand{\modd}{\ensurestackMath{\stackengine{0pt}{\top}{\bot}{O}{c}{F}{F}{L}}}
\begin{document}
$\modd \top \bot $
\end{document}
If you need it at smaller math styles:
\documentclass[12pt]{article}
\usepackage{amsmath,stackengine,scalerel}
\newcommand{\modd}{\ThisStyle{\ensurestackMath{\stackengine{0pt}%
{\SavedStyle\top}{\SavedStyle\bot}{O}{c}{F}{F}{L}}}}
\begin{document}
$\modd \top \bot $
$\scriptstyle\modd \top \bot $
$\scriptscriptstyle\modd \top \bot $
\end{document}